package com.libbase.kotlin.coroutines

import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.newSingleThreadContext

suspend fun test() = coroutineScope {
    launch(context = newSingleThreadContext("new-thread")) {
        delay(1000)
        println("Kotlin Coroutines World!")
    }
    println("Hello")
}